#define layout()
<!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta charset="utf-8" />
		#@title()
		<meta name="keywords" content="" />
		<meta name="description" content="" />
		<meta name="renderer" content="webkit" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<link rel="shortcut icon" href="#(TPATH)/favicon.ico" />
		<link rel="stylesheet" href="#(TPATH)/css/bootstrap.min.css" />
		<!--[if lt IE 9]>
    <script src="#(TPATH)/js/vendor/html5shiv.js"></script>
    <script src="#(TPATH)/js/vendor/respond.min.js"></script>
    <![endif]-->
		<script type="text/javascript">
			if(/msie [6|7|8]/i.test(navigator.userAgent)) {};
		</script>
		<link rel="stylesheet" href="#(TPATH)/css/main.css" />
		#@style()
	</head>

	<body>
		<!-- .navbar -->
		<nav class="navbar navbar-inverse navbar-fixed-top">
			<!--navbar-inverse-->
			<div class="container">
				<!-- navbar-header -->
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu">
                <span class="sr-only">切换菜单</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
					<a class="navbar-brand" href="#(ctx)/" title="LambkitCms"><span id="logo-text-left">Lambkit</span><span id="logo-text-right">CMS</span></a>
					<p class="navbar-text hidden-sm">最简约的内容管理系统</p>
				</div>
				<!-- /.navbar-header -->
				<!-- navbar-collapse -->
				<div class="collapse navbar-collapse" id="nav-menu">
					<ul class="nav navbar-nav">
						#for(menu : menus)
						<li>
							#if(menu.pid == null)
							<a href="#(menu.url)" target="#(menu.target)">#(menu.name??'菜单')</a>
							#end
						</li>
						#end
					</ul>
					<ul class="nav navbar-right navbar-nav">
						<li class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-search"></span></a>
							<ul class="dropdown-menu">
								<form id="search-form" class="form-inline">
									<div class="input-group">
										<input id="keywords" type="text" name="keywords" class="form-control" placeholder="搜索" />
										<div class="input-group-btn">
											<button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
										</div>
									</div>
								</form>
							</ul>
						</li>
						<li>
							<a href="login.html">登录</a>
						</li>
						<li>
							<a href="reg.html">注册</a>
						</li>
						<li id="messages" class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown">
								<span class="glyphicon glyphicon-bell"></span>
								<span class="badge bg-important">5</span>
							</a>
							<ul class="dropdown-menu">
								<li>
									<a href="#(ctx)/home/letter.html"><span class="glyphicon glyphicon-envelope"></span> 我的私信(<span class="msg-txt">1</span>)</a>
								</li>
								<li>
									<a href="#(ctx)/home/message.html"><span class="glyphicon glyphicon-volume-up"></span> 系统消息(<span class="msg-txt">4</span>)</a>
								</li>
							</ul>
						</li>
						<li class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown">
								<span class="glyphicon glyphicon-user"></span>
								<span class="caret"></span>
							</a>
							<ul class="dropdown-menu">
								<li>
									<a href="#(ctx)/home/index.html"><span class="glyphicon glyphicon-home"></span> 个人博客</a>
								</li>
								<li>
									<a href="#(ctx)/home/question.html"><span class="glyphicon glyphicon-question-sign"></span> 我的提问</a>
								</li>
								<li>
									<a href="#(ctx)/home/answer.html"><span class="glyphicon glyphicon-ok-sign"></span> 我的回答</a>
								</li>
								<li>
									<a href="#(ctx)/home/collection.html"><span class="glyphicon glyphicon-star"></span> 我的收藏</a>
								</li>
								<li class="divider"></li>
								<li>
									<a href="#(ctx)/setting/info.html"><span class="glyphicon glyphicon-cog"></span> 修改资料</a>
								</li>
								<li>
									<a href="#(ctx)/setting/password.html"><span class="glyphicon glyphicon-lock"></span> 密码安全</a>
								</li>
								<li>
									<a href="#(ctx)/logout.html"><span class="glyphicon glyphicon-log-out"></span> 安全退出</a>
								</li>
							</ul>
						</li>
					</ul>
				</div>
				<!-- /.navbar-collapse -->
			</div>
		</nav>
		<!-- /.navbar -->
		<!-- .container -->
		<div class="container" style="padding-bottom:80px;">
			#@content()
		</div>
		<!-- /.container -->
		<!-- footer -->
		<footer class="container-fuild text-center" style="position:fixed;bottom:0;width:100%;background:#eee;padding:20px 0;">
			Copyright &copy; 2017 Lambkit All Rights Reserved
		</footer>
		<!-- /footer -->
		<script>
			var BASE_PATH = '#(ctx)';
		</script>
		<script>
			var BACK_URL = '#(backurl)';
		</script>
		<script src="#(TPATH)/js/jquery-1.11.2.min.js"></script>
		<script src="#(TPATH)/js/bootstrap.min.js"></script>
		<script src="#(TPATH)/js/main.js"></script>
		#@script()
	</body>

</html>
#end